﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true"
    CodeBehind="wFrmPronosticoImportacionGenerar.aspx.cs" Inherits="Crosland.Automotriz.Web.Repuestos.wFrmPronosticoImportacionGenerar" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTimer" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxCallback" TagPrefix="dx" %>
<%@ Register Assembly="IdeaSparx.CoolControls.Web" Namespace="IdeaSparx.CoolControls.Web"
    TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
    <script type="text/javascript">
    // <![CDATA[


     function ShowCreateAccountWindow8() {
         popupmensajes.Show();


     }

     function ShowCreateAccountWindow4() {
         popuperror.Show();

       
     }

   

      function Redireccionar() {

          window.location.href = "wFrmPronosticoImportacion.aspx?id=3";
         
     }


    // ]]> 
    </script>
    <script language="javascript" type="text/javascript">
        function ValidNum() {
            if (event.keyCode < 48 || event.keyCode > 57) {
                event.returnValue = false;
            }
        }
    </script>
    <asp:Label ID="lblmej" runat="server" Text=""></asp:Label>
    <div class="main-header" style="width: 100%;">
        <div class="main-titulo">
            Generar Pronóstico</div>
    </div>
    <div class="content-form">
        <asp:UpdatePanel ID="upMsgActualizar" runat="server">
            <ContentTemplate>
                <asp:HiddenField ID="hfIndicador" runat="server" Value="S" />
                <dx:ASPxPopupControl ID="popuperror" runat="server" AllowDragging="True" ClientInstanceName="popuperror"
                    CloseAction="CloseButton" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" EnableViewState="False" HeaderText="Mensaje" LoadingPanelText="Cargando&amp;hellip;"
                    Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="300px" 
                    Theme="Office2010Blue">
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                        <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" PaddingTop="4px" />
                    </HeaderStyle>
                    <ContentCollection>
                        <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">
                            <br />
                            <dx:ASPxPanel ID="ASPxPanel1" runat="server" DefaultButton="btCreate">
                                <PanelCollection>
                                    <dx:PanelContent ID="PanelContent1" runat="server">
                                        <table>
                                            <tr>
                                                <td colspan="3">
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; No
                                                    se pudo generar el Pedido&nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2">
                                                    <asp:Label ID="lblmensaje" runat="server" ForeColor="#FF3300" Font-Size="7pt"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                </td>
                                                <td>
                                                    <dx:ASPxButton ID="ASPxButton1" runat="server" AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                                        Text="Aceptar" Width="10px">
                                                        <ClientSideEvents Click="function(s, e) {
	popuperror.Hide();
}" />
                                                    </dx:ASPxButton>
                                                </td>
                                                <td>
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:PanelContent>
                                </PanelCollection>
                            </dx:ASPxPanel>
                        </dx:PopupControlContentControl>
                    </ContentCollection>
                </dx:ASPxPopupControl>

                <br />

                <dx:ASPxPopupControl ID="popupMsjError" runat="server" AllowDragging="True" ClientInstanceName="popuperrorMsj"
                    CloseAction="CloseButton" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" EnableViewState="False" HeaderText="Mensaje" LoadingPanelText="Cargando&amp;hellip;"
                    Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="300px" 
                    Theme="Office2010Blue">
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                        <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" PaddingTop="4px" />
                    </HeaderStyle>
                    <ContentCollection>
                        <dx:PopupControlContentControl ID="popupMsjError2" runat="server" SupportsDisabledAttribute="True">
                            <br />
                            <dx:ASPxPanel ID="ASPxPanel3" runat="server" DefaultButton="btCreate">
                                <PanelCollection>
                                    <dx:PanelContent ID="PanelContent2" runat="server">
                                        <table style="width:100%;">
                                            <tr>
                                                <td style="width:100%;"  class="filas2" align="center">
                                                    
                                                    <asp:Label ID="lblmensajepopup" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                          
                                           
                                        </table>
                                        <table style="width:100%;">
                                        
                                         <tr>
                                                <td align="center" class="filas2">
                                                   
                                                    <dx:ASPxButton ID="ASPxButton3" runat="server" AutoPostBack="False" 
                                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                                        CssPostfix="Office2010Blue" 
                                                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                                                        Width="10px">
                                                        <ClientSideEvents Click="function(s, e) {
	popuperrorMsj.Hide();
}" />
                                                    </dx:ASPxButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:PanelContent>
                                </PanelCollection>
                            </dx:ASPxPanel>
                        </dx:PopupControlContentControl>
                    </ContentCollection>
                </dx:ASPxPopupControl>
                <br />


                <dx:ASPxPopupControl ID="popupmensajes" runat="server" AllowDragging="True" ClientInstanceName="popupmensajes"
                    CloseAction="CloseButton" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" EnableViewState="False" HeaderText="Mensaje" LoadingPanelText="Cargando&amp;hellip;"
                    Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="300px" 
                    Theme="Office2010Blue">
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                    </ContentStyle>
                    <HeaderStyle>
                        <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" PaddingTop="4px" />
                    </HeaderStyle>
                    <ContentCollection>
                        <dx:PopupControlContentControl ID="PopupControlContentControl5" runat="server" SupportsDisabledAttribute="True">
                            <br />
                            <dx:ASPxPanel ID="ASPxPanel2" runat="server" DefaultButton="btCreate">
                                <PanelCollection>
                                    <dx:PanelContent ID="Panelpopup" runat="server">
                                        <table>
                                            <tr>
                                                <td colspan="2">
                                                    Pedido generado de forma satisfactoria!
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
                                                </td>
                                                <td>
                                                    <dx:ASPxButton ID="ASPxButton2" runat="server" AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                                        Text="Aceptar" Width="10px">
                                                        <ClientSideEvents Click="function(s, e) {
	popupmensajes.Hide();
}" />
                                                    </dx:ASPxButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:PanelContent>
                                </PanelCollection>
                            </dx:ASPxPanel>
                        </dx:PopupControlContentControl>
                    </ContentCollection>
                </dx:ASPxPopupControl>
                <table>
                    <tr>
                        <td class="filas2">
                            <dx:ASPxButton ID="btngene" runat="server" Text="Generar" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                CssPostfix="Office2010Blue" OnClick="btngene_Click" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                Width="100px">
                            </dx:ASPxButton>
                        </td>
                        <td class="filas2">
                            <dx:ASPxButton ID="btnsal" runat="server" Text="Salir" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                Width="100px" CausesValidation="False" AutoPostBack="False">
                                <ClientSideEvents Click="function(s, e) {
	Redireccionar();
}" />
                            </dx:ASPxButton>
                        </td>
                    </tr>
                </table>
                <dx:ASPxRoundPanel ID="RPPronostico" runat="server" Width="70%" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                    CssPostfix="Office2010Blue" GroupBoxCaptionOffsetY="-19px" HeaderText="" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                    EnableDefaultAppearance="False" GroupBoxCaptionOffsetX="6px">
                    <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" PaddingTop="10px" />
                    <HeaderStyle>
                        <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" PaddingTop="3px" />
                    </HeaderStyle>
                    <PanelCollection>
                        <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                            <asp:UpdateProgress runat="server" ID="UpdateProgress1">
                                <ProgressTemplate>
                                    <div id="blur1">
                                    </div>
                                    <div class="verventa-overlay">
                                        <div class="recventa-overlay">
                                            <table>
                                                <tr>
                                                    <td>
                                                        <img src="../Images/loading1.gif" alt="Cargando..." />
                                                    </td>
                                                    <td>
                                                        <strong>Procesando ....</strong>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                </ProgressTemplate>
                            </asp:UpdateProgress>
                            <table>
                                <tr>
                                    <td class="filas2">
                                        Org.Venta</td>
                                    <td class="filas2">
                                        <dx:ASPxComboBox ID="cboOrgVenta" runat="server" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" IncrementalFilteringMode="Contains" Spacing="0" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                            </LoadingPanelImage>
                                            <LoadingPanelStyle ImageSpacing="5px">
                                            </LoadingPanelStyle>
                                            <ButtonStyle Width="13px">
                                            </ButtonStyle>
                                        </dx:ASPxComboBox>
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td class="filas2">
                                        Periodo inicial Año:
                                    </td>
                                    <td class="filas2">
                                        <dx:ASPxComboBox ID="cboAnioD" runat="server" AutoPostBack="True" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" 
                                            OnSelectedIndexChanged="cboAnioD_SelectedIndexChanged" Spacing="0" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <Items>
                                                <dx:ListEditItem Text="2010" Value="2010" />
                                                <dx:ListEditItem Text="2011" Value="2011" />
                                                <dx:ListEditItem Text="2012" Value="2012" />
                                                <dx:ListEditItem Text="2013" Value="2013" />
                                                <dx:ListEditItem Text="2014" Value="2014" />
                                            </Items>
                                            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                            </LoadingPanelImage>
                                            <LoadingPanelStyle ImageSpacing="5px">
                                            </LoadingPanelStyle>
                                            <ButtonStyle Width="13px">
                                            </ButtonStyle>
                                        </dx:ASPxComboBox>
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                        Mes:
                                    </td>
                                    <td class="filas2">
                                        <dx:ASPxComboBox ID="cboMesD" runat="server" AutoPostBack="True" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" 
                                            OnSelectedIndexChanged="cboMesD_SelectedIndexChanged" Spacing="0" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <Items>
                                                <dx:ListEditItem Text="Enero" Value="1" />
                                                <dx:ListEditItem Text="Febrero" Value="2" />
                                                <dx:ListEditItem Text="Marzo" Value="3" />
                                                <dx:ListEditItem Text="Abril" Value="4" />
                                                <dx:ListEditItem Text="Mayo" Value="5" />
                                                <dx:ListEditItem Text="Junio" Value="6" />
                                                <dx:ListEditItem Text="Julio" Value="7" />
                                                <dx:ListEditItem Text="Agosto" Value="8" />
                                                <dx:ListEditItem Text="Septiembre" Value="9" />
                                                <dx:ListEditItem Text="Octubre" Value="10" />
                                                <dx:ListEditItem Text="Noviembre" Value="11" />
                                                <dx:ListEditItem Text="Diciembre" Value="12" />
                                            </Items>
                                            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                            </LoadingPanelImage>
                                            <LoadingPanelStyle ImageSpacing="5px">
                                            </LoadingPanelStyle>
                                            <ButtonStyle Width="13px">
                                            </ButtonStyle>
                                        </dx:ASPxComboBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td class="filas2">
                                        <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Nro.meses:">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td class="filas2">
                                        <dx:ASPxSpinEdit ID="txtNumMeses" runat="server" AutoPostBack="True" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" Height="21px" MaxValue="12" MinValue="1" Number="6" 
                                            OnNumberChanged="txtNumMeses_NumberChanged" Spacing="0" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="50px">
                                            <SpinButtons HorizontalSpacing="0">
                                            </SpinButtons>
                                        </dx:ASPxSpinEdit>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas2">
                                        Periodo final Año:
                                    </td>
                                    <td class="filas2">
                                        <dx:ASPxComboBox ID="cboAnioA" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            AutoPostBack="True" OnSelectedIndexChanged="cboAnioA_SelectedIndexChanged">
                                            <Items>
                                                <dx:ListEditItem Text="2010" Value="2010" />
                                                <dx:ListEditItem Text="2011" Value="2011" />
                                                <dx:ListEditItem Text="2012" Value="2012" />
                                                <dx:ListEditItem Text="2013" Value="2013" />
                                                <dx:ListEditItem Text="2014" Value="2014" />
                                            </Items>
                                            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                            </LoadingPanelImage>
                                            <LoadingPanelStyle ImageSpacing="5px">
                                            </LoadingPanelStyle>
                                            <ButtonStyle Width="13px">
                                            </ButtonStyle>
                                        </dx:ASPxComboBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td class="filas2">
                                        Mes:
                                    </td>
                                    <td class="filas2">
                                        <dx:ASPxComboBox ID="cboMesA" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            AutoPostBack="True" OnSelectedIndexChanged="cboMesA_SelectedIndexChanged">
                                            <Items>
                                                <dx:ListEditItem Text="Enero" Value="1" />
                                                <dx:ListEditItem Text="Febrero" Value="2" />
                                                <dx:ListEditItem Text="Marzo" Value="3" />
                                                <dx:ListEditItem Text="Abril" Value="4" />
                                                <dx:ListEditItem Text="Mayo" Value="5" />
                                                <dx:ListEditItem Text="Junio" Value="6" />
                                                <dx:ListEditItem Text="Julio" Value="7" />
                                                <dx:ListEditItem Text="Agosto" Value="8" />
                                                <dx:ListEditItem Text="Septiembre" Value="9" />
                                                <dx:ListEditItem Text="Octubre" Value="10" />
                                                <dx:ListEditItem Text="Noviembre" Value="11" />
                                                <dx:ListEditItem Text="Diciembre" Value="12" />
                                            </Items>
                                            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                            </LoadingPanelImage>
                                            <LoadingPanelStyle ImageSpacing="5px">
                                            </LoadingPanelStyle>
                                            <ButtonStyle Width="13px">
                                            </ButtonStyle>
                                        </dx:ASPxComboBox>
                                    </td>
                                </tr>
                            </table>
                            <table style="width: 100%;">
                                <tr>
                                    <td style="width: 50%;">
                                        <dx:ASPxGridView ID="grdGrupoArticulos" runat="server" 
                                            AutoGenerateColumns="False" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" Width="100%" KeyFieldName="ID_GRUPO_ARTICULO" 
                                            OnAfterPerformCallback="grdGrupoArticulos_AfterPerformCallback" 
                                            OnPageIndexChanged="grdGrupoArticulos_PageIndexChanged">
                                            <Columns>
                                                <dx:GridViewCommandColumn Caption="Marcar" ShowInCustomizationForm="True" 
                                                    ShowSelectCheckbox="True" VisibleIndex="1" Width="10px">
                                                </dx:GridViewCommandColumn>
                                                <dx:GridViewDataTextColumn Caption="Articulo" FieldName="DES_GRUPO_ARTICULO" 
                                                    ShowInCustomizationForm="True" VisibleIndex="0">
                                                </dx:GridViewDataTextColumn>
                                           
                                                <dx:GridViewDataTextColumn FieldName="ID_GRUPO_ARTICULO" 
                                                    ShowInCustomizationForm="True" Visible="False" VisibleIndex="2">
                                                </dx:GridViewDataTextColumn>
                                           
                                            </Columns>
                                            <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                                <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                                </LoadingPanelOnStatusBar>
                                                <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                                </LoadingPanel>
                                            </Images>
                                            <ImagesFilterControl>
                                                <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                                </LoadingPanel>
                                            </ImagesFilterControl>
                                            <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                                CssPostfix="Office2010Blue">
                                                <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                                </Header>
                                                <LoadingPanel ImageSpacing="5px">
                                                </LoadingPanel>
                                            </Styles>
                                            <StylesPager>
                                                <PageNumber ForeColor="#3E4846">
                                                </PageNumber>
                                                <Summary ForeColor="#1E395B">
                                                </Summary>
                                            </StylesPager>
                                            <StylesEditors ButtonEditCellSpacing="0">
                                                <ProgressBar Height="21px">
                                                </ProgressBar>
                                            </StylesEditors>
                                        </dx:ASPxGridView>
                                    </td>
                                    <td style="width: 50%;">
                                        <dx:ASPxGridView ID="grdTipoArticulo" runat="server" AutoGenerateColumns="False"
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                            Width="100%">
                                            <Columns>
                                                <dx:GridViewDataTextColumn Caption="Tipo Artículo" FieldName="Tipo_abd" ShowInCustomizationForm="True"
                                                    VisibleIndex="0" Width="10px"> 
                                                    <CellStyle HorizontalAlign="Center">
                                                    </CellStyle>                                                   
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn Caption="Nro. Mes" FieldName="num_mes" ShowInCustomizationForm="True"
                                                    VisibleIndex="1" Width="50px">
                                                    
                                                    <DataItemTemplate>
                                                        <dx:ASPxTextBox ID="txtNumMes" runat="server" MaxLength="2" 
                                                            onkeypress="return ValidNum(event);" Text='<%#Eval("num_mes")%>' Width="100px">
                                                        </dx:ASPxTextBox>
                                                    </DataItemTemplate>
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <CellStyle HorizontalAlign="Center">
                                                    </CellStyle>


                                                </dx:GridViewDataTextColumn>
                                            </Columns>
                                            <SettingsBehavior AllowSort="False" />
                                            <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                                <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                                </LoadingPanelOnStatusBar>
                                                <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                                </LoadingPanel>
                                            </Images>
                                            <ImagesFilterControl>
                                                <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                                </LoadingPanel>
                                            </ImagesFilterControl>
                                            <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                                                <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                                </Header>
                                                <LoadingPanel ImageSpacing="5px">
                                                </LoadingPanel>
                                            </Styles>
                                            <StylesPager>
                                                <PageNumber ForeColor="#3E4846">
                                                </PageNumber>
                                                <Summary ForeColor="#1E395B">
                                                </Summary>
                                            </StylesPager>
                                            <StylesEditors ButtonEditCellSpacing="0">
                                                <ProgressBar Height="21px">
                                                </ProgressBar>
                                            </StylesEditors>
                                        </dx:ASPxGridView>
                                    </td>
                                </tr>
                            </table>
                        </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxRoundPanel>
                <dx:ASPxRoundPanel ID="RPCorreo" runat="server" Width="70%" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                    CssPostfix="Office2010Blue" EnableDefaultAppearance="False" GroupBoxCaptionOffsetX="6px"
                    GroupBoxCaptionOffsetY="-19px" HeaderText="El proceso será enviado a los Usuarios"
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" PaddingTop="10px" />
                    <HeaderStyle>
                        <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" PaddingTop="3px" />
                    </HeaderStyle>
                    <PanelCollection>
                        <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                            <dx:ASPxGridView ID="grdListaCorreoPronostico" runat="server" AutoGenerateColumns="False"
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                OnAfterPerformCallback="grdListaCorreoPronostico_AfterPerformCallback" Width="100%">
                                <Columns>
                                    <dx:GridViewDataTextColumn Caption="Nombre y Apellidos" FieldName="NOMBRE_APELLIDOS"
                                        ShowInCustomizationForm="True" VisibleIndex="0">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn Caption="Email" FieldName="DES_EMAIL" ShowInCustomizationForm="True"
                                        VisibleIndex="1">
                                    </dx:GridViewDataTextColumn>
                                </Columns>
                                <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                    </LoadingPanelOnStatusBar>
                                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                    </LoadingPanel>
                                </Images>
                                <ImagesFilterControl>
                                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                    </LoadingPanel>
                                </ImagesFilterControl>
                                <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                                    <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                    </Header>
                                    <LoadingPanel ImageSpacing="5px">
                                    </LoadingPanel>
                                </Styles>
                                <StylesPager>
                                    <PageNumber ForeColor="#3E4846">
                                    </PageNumber>
                                    <Summary ForeColor="#1E395B">
                                    </Summary>
                                </StylesPager>
                                <StylesEditors ButtonEditCellSpacing="0">
                                    <ProgressBar Height="21px">
                                    </ProgressBar>
                                </StylesEditors>
                            </dx:ASPxGridView>
                        </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxRoundPanel>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
